package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 合同创建日志
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-09-11
 */
@Data
public class ContractLogBean extends RootBean {

    private static final long serialVersionUID = 1L;

    /**
     * id
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private Integer id;

    /**
     * 合同编号
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private String contractCode;

    /**
     * 订单号
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private Long orderCode;

    /**
     * 合同名称
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private String contractName;

    /**
     * 业务类型（1：订阅里程，2：专属里程）
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private Byte businessType;

    /**
     * 是否创建成功（0：否，1：是）
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private Boolean isCreated;

    /**
     * 失败原因
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private String failureReason;

    /**
     * 创建时间
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     * @mbggenerated Fri Sep 27 16:58:22 CST 2019
     */
    private LocalDateTime gmtModified;


}